package com.ucenter.server.org.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ucenter.server.org.pojo.PositionRole;

/**
 * position_role的Dao
 * @author autoCode
 * @date 2018-12-01 09:50:14
 * @version V1.0.0
 */
public interface PositionRoleDao {

	public abstract void save(PositionRole positionRole);

	public abstract void delete(@Param("positionId")String positionId, @Param("roleId")String roleId);
	
	public abstract PositionRole get(@Param("positionId")String positionId, @Param("roleId")String roleId);

	public abstract List<PositionRole> findPositionRole(PositionRole positionRole);
	
	public abstract int findPositionRoleCount(PositionRole positionRole);

	public abstract List<PositionRole> findByPositionId(@Param("positionId")String positionId);
}